package com.zshy.base.monitor.domain.contract.enums;

import com.zshy.base.core.contract.enums.IEnum;
import com.zshy.base.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 消息类型
 *
 * @author zhouhengzhe
 */
@Getter
@AllArgsConstructor
public enum DingTaskMessageTypeEnum implements IEnum<String>, EnumValueResolver<DingTaskMessageTypeEnum, String> {

    TEXT("text", "文本消息"),
    LINK("link", "链接消息"),
    MARKDOWN("markdown", "markdown消息"),
    ACTION_CARD("actionCard", "卡片消息"),
    FEED_CARD("feedCard", "feedCard 类型消息");

    private final String code;
    private final String desc;
}
